package service;

import org.apache.ibatis.annotations.Param;
import pojo.Collectiona;
import pojo.Follow;

import java.util.List;


public interface CollectionService {

    int insert(Collectiona collection);
    int delete(int collectionid);
    Collectiona getIsCollection(@Param("userid") String userid,
                                  @Param("blogid") String blogid);
    List<Collectiona> getCollectbyid(String userid);
}
